package cn.edu.scau.cmi.huangxiaodong.exercise5;

public class Computer {
      public int getSum(int ...x) {
    	  int sum=0;
    	  for(int i=0;i<x.length;i++)
    		  sum=sum+x[i];
      return sum;
      }
      
}
